<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>015-v-on-原始DOM事件阻止事件冒泡.html</title>
	<style>
		*{
			margin: 0;
			padding: 0;
		}
		.large-box{
			width: 500px;
			height: 500px;
			border: 1px solid #000;
			background-color: gray;
			margin: 50px auto;
		}
		.big-box{
			width: 300px;
			height: 300px;
			border: 1px solid #000;
			background-color: blue;
			margin: 50px auto;
		}
		.small-box{
			width: 150;
			height: 150px;
			border: 1px solid #000;
			background-color: red;
			margin: 50px auto;
		}
	</style>
</head>
<body>
	<div id="app">
		<div class="large-box" @click="clickLargeBox()">
			<div class="big-box" @click="clickBigBox()">
				<div class="small-box" @click="clickSmallBox('hi',$event)">
					
				</div>
			</div>
		</div>
	</div>
</body>
<script src="js/vue.js"></script>
<script>
	var vm = new Vue({
		el: '#app',
		data: {
		},
		methods:{
			clickLargeBox(){
				console.log('clickLargeBox...')
			},
			clickBigBox(){
				console.log('clickBigBox...')
			},
			clickSmallBox(msg,ev){
				console.log(ev)
				ev.stopPropagation()
				console.log('clickSmallBox...')
			}
		}
})
</script>
</html>